<template>
  <form @submit.prevent="submitStep">
    <div v-for="step in steps" v-show="activeStepIndex === step.number" :id="'step' + step.number" :key="step.number">
      <slot :name="'step' + stepProps.number" />
    </div>
  </form>
</template>
<script setup>
import { ref } from 'vue';

let activeStepIndex = ref(1);
</script>